package com.ybwh.springboot2.common.mybatis.plugin.result.nullcovert;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ToNullVal {
    /**
     * 目标值，当字段是此值时候转换为空值
     *
     * @return
     */
    String targetVal();



    Class<? extends ConvertToString> toStringWay() default NoOp.class;

}